﻿using Quartz;
using SqlSugar;
using System.Collections.Generic;
using System.ComponentModel;
using WeChatBotSDK.Interfaces;

namespace 微信机器人服务.Quartz.Jobs
{
    [DisallowConcurrentExecution]
    [PersistJobDataAfterExecution]
    [Description("推送任务")]
    public class 推送任务 : IJob
    {
        private readonly ISqlSugarClient _sqlSugarClient;
        private readonly ILogger<推送任务> _logger;
        private readonly IQXApiService _weChatApiService;

        public 推送任务(ISqlSugarClient sqlSugarClient, ILogger<推送任务> logger, IQXApiService weChatApiService)
        {
            _sqlSugarClient = sqlSugarClient;
            _logger = logger;
            _weChatApiService = weChatApiService;
        }

        public async Task Execute(IJobExecutionContext context)
        {

            _logger.LogInformation("开始执行微信推送任务");
          
            _logger.LogInformation("完成微信推送任务");
        }
       
    }
}
